package com.zero.manage.web.components.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("登录参数")
public class LoginDto {
    @NotBlank(message = "登录名必填")
    @ApiModelProperty("登录名称")
    private String name;

    @NotBlank(message = "密码必填")
    @ApiModelProperty("登录密码")
    private String password;

    @NotBlank(message = "验证码标识必传")
    @ApiModelProperty("redisKey")
    private String redisKey;

    @NotBlank(message = "验证码必传")
    @ApiModelProperty("verCode")
    private String verCode;
}
